package com.bianmaba.activiti.controller.authorization.user;

import com.bianmaba.spring.web.controller.CrudController;
import com.bianmaba.activiti.beans.entity.authorization.User;
import com.bianmaba.activiti.service.authorization.user.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = {"management/authorization/user"})
public class MGTUserController extends CrudController<User, String> {
    @Autowired
    private IUserService service;

    @Override
    protected IUserService getService() {
        return service;
    }

}
